import request from '@/utils/request'

// 商品组合sku列表
export function getList(data){
  return request({
    url: '/v1/goods/change-order/list',
    method: 'POST',
    data
  })
}
//变更单审核
export function check(data){
  return request({
    url: '/v1/goods/change-order/check',
    method: 'POST',
    data
  })
}
//变更单取消
export function cancel(data){
  return request({
    url: '/v1/goods/change-order/cancel',
    method: 'POST',
    data
  })
}

// 获取飞书审批详情
export function getFlowDetail(data) {
  return request({
    url: '/v1/goods/change-order/flow-detail',
    method: 'post',
    data
  })
}
